// 公用样式
import '@/assets/styles/common.less'
import initDirective from '@/assets/utils/directive'
// 动画库
import 'animate.css'

// 重置样式
import 'normalize.css'
import {createPinia} from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persist'
import {createApp} from 'vue'

import App from './App.vue'
import router from './router'

const app = createApp(App)
const store = createPinia()
store.use(piniaPluginPersist)

// 绑定全局自定义指令
initDirective(app)

app.use(store)
app.use(router)

app.mount('#app')
